package com.jz.pay3;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2
// 开启swagger
@ConditionalOnProperty(name = "swagger.enable",  havingValue = "true")
@EnableEurekaClient
@SpringBootApplication
public class Pay3 {
    public static void main(String[] args) {
        SpringApplication.run(Pay3.class,args);
    }
}
